<template>
<div class="bh-descriptions">
	<div class="bh-descriptions__header">
		<div class="bh-descriptions__title">{{title}}</div>
	</div>
	<div class="bh-descriptions__body">
		<slot></slot>
	</div>
</div>
</template>

<script>
export default {
	name: 'bh-descriptions',
	props: {
		title: String,
	},
	data() {
		return {
			visible: true,
		}
	},
	methods: {
		close() {
			this.visible = false;
			this.$emit('close');
		},
	},
	computed: {
		typeClass() {
			return `bh-alert-${ this.type }`;
		},
	},
}
</script>
